<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE HTML>
<html id="gray_html">
	<head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
        <meta content="telephone=no" name="format-detection">
        <meta name="apple-mobile-web-app-capable" content="yes">
        <meta name="apple-mobile-web-app-status-bar-style" content="black">
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
        <title>易美佳人</title>
        <link rel="stylesheet" type="text/css" href="/meirongtest/Public/Wechat/api/css/index.css"/>
        <link href='/meirongtest/Public/Wechat/js/plugin/photoswipe/photoswipe.css' rel='stylesheet' type='text/css' />
	</head>
<body>
	<div id="project_detail_top">
		<img src="<?php echo ($project["headimg"]); ?>" />
		<span class="project_type_label"><?php echo ($project["type"]); ?></span>
		<div class="project_label">
			<span class="has_buy_num">已有<?php echo ($project["has_buy_num"]); ?>人购买</span>
			<span class="old_price">￥<?php echo ($project["old_price"]); ?></span>
			<div class="clear"></div>
		</div>
	</div>
	<div id="project_detail_info">
		<span class="project_name"><?php echo ($project["project_name"]); ?></span>
		<span class="project_price">￥<?php echo ($project["project_price"]); ?></span>
		<div class="clear"></div>
	</div>
	<div class="container">
		<div class="project_intro_box">
			<div class="pib_tip">
				<span>项目介绍</span>
				<span class="pib_time"><?php echo ($project["pib_time"]); ?>分钟</span>
				<div class="clear"></div>
			</div>
			<div class="pib_container">
				<?php if(is_array($project["project_intro"])): $i = 0; $__LIST__ = $project["project_intro"];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i; echo ($vo); ?><br/><?php endforeach; endif; else: echo "" ;endif; ?>
			</div>
		</div>
		<div class="project_intro_box">
			<div class="pib_tip">步骤展示</div>
			<div class="pib_container2">
				<div class="prev"></div>
				<div class="pib_list">
					<ul id="step_slider">
					<?php if(is_array($project["step_s"])): $i = 0; $__LIST__ = $project["step_s"];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><li>
							<a href="<?php echo ($vo["imgpath"]); ?>" rel="<?php echo ($vo["imgpath"]); ?>">
								<img src="<?php echo ($vo["imgpath"]); ?>" />
						    </a>
						    <div class="pib_tip_box"><?php echo ($vo["explain"]); ?></div>
						</li><?php endforeach; endif; else: echo "" ;endif; ?>
					</ul>
				</div>
				<div class="next"></div>
				<div class="clear"></div>
			</div>
		</div>
		<div class="project_intro_box">
			<div class="pib_tip">产品展示</div>
			<div class="pib_container2">
				<div class="prev"></div>
				<div class="pib_list">
					<ul id="product_slider">
						<?php if(is_array($project["product_s"])): $i = 0; $__LIST__ = $project["product_s"];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><li>
							<a href="<?php echo ($vo["imgpath"]); ?>" rel="<?php echo ($vo["imgpath"]); ?>">
								<img src="<?php echo ($vo["imgpath"]); ?>" />
						    </a>
						    <div class="pib_tip_box"><?php echo ($vo["explain"]); ?></div>
						</li><?php endforeach; endif; else: echo "" ;endif; ?>
					</ul>
				</div>
				<div class="next"></div>
				<div class="clear"></div>
			</div>
		</div>
		<div class="project_intro_box" id="reminder_box">
			<div class="pib_tip">
				<span>温馨提示</span>
			</div>
			<div class="pib_container">
				<?php if(is_array($project["reminder"])): $i = 0; $__LIST__ = $project["reminder"];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i; echo ($vo); ?><br/><?php endforeach; endif; else: echo "" ;endif; ?>
			</div>
		</div>
	</div>
	<div id="layer_box2">
			<div class="tip_box1">
				<img src="/meirongtest/Public/Wechat/api/images/tip1.png" />
				<div>
					<img src="/meirongtest/Public/Wechat/api/images/know.png" class="know" />
				</div>
			</div>
			<div id="beautician_icon_box">
				<div>
					<span class="beautician_icon"></span>
					美容师
				</div>
			</div>
			<div class="tip_box2">
				<img src="/meirongtest/Public/Wechat/api/images/tip2.png" />
				<div>
					<img src="/meirongtest/Public/Wechat/api/images/know.png" class="know" />
				</div>
			</div>
			<div id="book_icon_box">
				<div>
					<span class="menu_icon"></span>
					<div>
						<span>我要预约</span>
						<p>空闲天使在等候</p>
					</div>
				</div>
			</div>
		</div>
	<input type="hidden" id="project_id" value="<?php echo ($project["id"]); ?>">
	<footer id="detail_footer">
		<div id="collect_project"<?php if($iscollect == 0): ?>class="cancollect"<?php endif; ?>><span class="project_footer_icon pfi_block"></span><span class="collect_label"><?php if($iscollect == 1): ?>已<?php endif; ?>收藏</span></div>
		<div id="share_project"><span class="project_footer_icon pfi_block"></span>分享</div>
		<div id="book_this"><span class="project_footer_icon"></span><span class="bt_label">预约该项目</span></div>
	</footer>
	<div id="layer_box">
		<img src="/meirongtest/Public/Wechat/api/images/share_layer.png" id="layer_img" />
	</div>
</body>
<script type="text/javascript" src="/meirongtest/Public/Wechat/js/jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="/meirongtest/Public/Wechat/js/global.js"></script>
<script type='text/javascript' src='/meirongtest/Public/Wechat/js/plugin/photoswipe/klass.min.js'></script>
<script type='text/javascript' src='/meirongtest/Public/Wechat/js/plugin/photoswipe/photoswipe.jquery-3.0.5.min.js'></script>
<script type="text/javascript" src="/meirongtest/Public/Wechat/api/js/index.js"></script>
<script>
	$(document).ready(index_obj.detail_init);
	var hasmrs = "<?php echo ($hasmrs); ?>";
	var beautician="<?php echo ($beautician); ?>";
</script>
  <script src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>
		<script type="text/javascript" src="/meirongtest/Public/Wechat/js/share1.js"></script>
		<script type='text/javascript'>
			 var domain={
		            www:'<?php echo C('WEB_ABSOLUTE_URL');?>',
		            static:'<?php echo C('WEB_ABSOLUTE_URL');?>',
		            img:'<?php echo C('WEB_ABSOLUTE_URL');?>',
		            file:'<?php echo C('WEB_ABSOLUTE_URL');?>',
		            kf:'<?php echo C('WEB_ABSOLUTE_URL');?>'
		    };	
			var config={
					 appid: '<?php echo ($userconfiginfo["appid"]); ?>',
					 timestamp:'<?php echo ($signpackage["timestamp"]); ?>',
					 nonceStr:'<?php echo ($signpackage["nonceStr"]); ?>',
					 signature:'<?php echo ($signpackage["signature"]); ?>',
			}
			var share={
					title:'<?php echo ($share["title"]); ?>',
					desc:'<?php echo ($share["desc"]); ?>',
					img_url:'<?php echo ($share["imgpath"]); ?>',
					url:'<?php echo ($share["url"]); ?>'
				}
		    share_obj.shareConfig_init(config);
			share_obj.share_init(share);
	</script>
</html>